<template>
  <div class="box">
    <div class="box-left">
      <div class="box-left-top">
        企业管理平台
      </div>
      <div class="box-left-main">
        <MyMenu></MyMenu>
      </div>
    </div>
    <div class="box-right">
      <div class="box-right-top">
        <MyHeader></MyHeader>
      </div>
      <div class="box-right-main">
        <div class="box-right-main-top">
          <MyBreadcrumb></MyBreadcrumb>
        </div>
        <div class="box-right-main-content">
          <router-view></router-view>
        </div>
      </div>
      <div class="box-right-bottom">
        企业级RBAC权限管理系统|Copyright © 2025 All Rights Reserved|v1.0.0
      </div>
    </div>

  </div>
</template>
<script>
import MyHeader from '@/components/layout/MyHeader.vue';
import MyMenu from '@/components/layout/MyMenu.vue';
import MyBreadcrumb from '@/components/layout/MyBreadcrumb.vue';
export default {
  data() {
    return {

    }
  },

  components: {
    MyHeader
    , MyMenu
    , MyBreadcrumb
  },
  methods: {

  }
}
</script>
<style scoped lang="less">
.box {
  display: flex;
  height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  .box-left {
    width: 20%;
    background-color: #333;
    color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);

    .box-left-top {
      padding: 20px;
      font-size: 28px;
      font-weight: bold;
      border-bottom: 1px solid #555;
      letter-spacing: 1px;
    }

    .box-left-main {
      padding: 20px;
      font-size: 20px;
      line-height: 1.5;
    }
  }

  .box-right {
    width: 80%;
    display: flex;
    flex-direction: column;



    .box-right-main {
      flex: 1;
      padding: 20px;

      .box-right-main-top {
        margin-bottom: 20px;
        font-size: 20px;
        color: #666;
        letter-spacing: 0.5px;
      }

      .box-right-main-content {
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      }
    }

    .box-right-bottom {
      padding: 20px;
      background-color: #f0f0f0;
      border-top: 1px solid #ccc;
      text-align: center;
      font-size: 14px;
      color: #888;
    }
  }
}
</style>